package com.example.myapplication.coil

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import coil.load
import com.example.myapplication.R
import com.example.myapplication.databinding.ActivityCoil0918Binding

class ActivityCoil0918 : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        var binding = DataBindingUtil.setContentView<ActivityCoil0918Binding>(
            this,
            R.layout.activity_coil0918
        )
        var string ="http://img0.dili360.com/ga/M01/48/3C/wKgBy1kj49qAMVd7ADKmuZ9jug8377.tub.jpg"
//
        binding.imageView2.load(string)
        binding.imageView3.load(R.mipmap.ic_launcher)



    }
}